Providing Haptic Output Based on a Determined Orientation of an Electronic Device

ABSTRACT

Embodiments of the present disclosure provide a system and method for providing haptic output for an electronic device. In certain embodiments, a type of haptic output is provided based on a determined orientation, position, and/or operating environment of the electronic device. Specifically, the electronic device may receive input from one or more sensors associated with electronic device. Once the input from the one or more sensors is received, an orientation, position and/or operating environment of the electronic device is determined. Based on the determined orientation of the electronic device, a type of haptic output is selected and provided.

This application is a continuation of U.S. patent application Ser. No. 14/283,430, filed May 21, 2014, which is hereby incorporated by reference herein in its entirety.

TECHNICAL FIELD

The present disclosure is directed to providing haptic output for an electronic device. Specifically, the present disclosure is directed to providing a various types of haptic output based on a determined orientation, position and/or operating environment of the electronic device.

BACKGROUND

Electronic devices are very commonplace in today's society. These electronic devices include cell phones, tablet computers, personal digital assistants and the like. Some of these electronic devices include an ability to notify a user of a particular item of interest, such as, for example, an incoming phone call, or may otherwise attempt to gain the user's attention through the use of various alert notifications. These alert notifications may include vibrating motors, noise from speakers in the form of ringtones and the like.

It is with respect to these and other general considerations that embodiments of the present disclosure have been made. Also, although relatively specific problems have been discussed, it should be understood that the embodiments disclosed herein should not be limited to solving the specific problems identified in the background.

SUMMARY

This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description section. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

Embodiments of the present disclosure provide a system and method for providing a type of haptic output for an electronic device. In certain embodiments, the type of haptic output is based on a determined orientation, position, and/or operating environment of the electronic device. Specifically, the electronic device may receive input from one or more sensors associated with electronic device. Once the input from the one or more sensors is received, an orientation, position and/or operating environment of the electronic device is determined. Based on the determined orientation of the electronic device, a type of haptic output is selected and provided.

In another embodiment, a method and system is provided for adjusting a type of haptic output provided by an electronic device. In such embodiments, input is received from one or more sensors associated with the electronic device. An orientation of the electronic device is determined using the input from the one or more sensors. The input from the sensors may be received simultaneously, substantially simultaneously or in a sequential manner. Further, input may be received from a first sensor and the electronic device may then request that additional readings be received from a second sensor. Once the senor readings from the one or more sensors is received, the electronic device may request additional input. The additional input may include information from an application or other program being executed on the electronic device or from an additional sensor. Using this information, the electronic device is configured to determine its orientation, position with respect to a user or another computing device, and/or its current operating environment. Once this information is determined, a type of haptic output is selected and provided by the electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A-1B illustrate exemplary electronic devices that may be used to provide haptic output according to one or more embodiments of the present disclosure;

FIGS. 2A-2B illustrate an exemplary electronic device being worn by a user according to one or more embodiments of the present disclosure;

FIG. 3 illustrates an electronic device operating in an exemplary operating environment according to one or more embodiments of the present disclosure;

FIG. 4 illustrates an electronic device operating in another exemplary operating environment according to one or more embodiments of the present disclosure;

FIG. 5 illustrates a method of providing haptic output based on a determined orientation of an electronic device according to one or more embodiments of the present disclosure;

FIG. 6 is a block diagram illustrating example physical components of an electronic device that may be used with one or more embodiments of the present disclosure; and

FIG. 7 is simplified block diagram of an electronic device that may be used with one or more embodiments of the present disclosure.

DETAILED DESCRIPTION

Various embodiments are described more fully below with reference to the accompanying drawings, which form a part hereof, and which show specific exemplary embodiments. However, embodiments may be implemented in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art. The following detailed description is, therefore, not to be taken in a limiting sense.

As discussed above, embodiments of the present disclosure provide a system and method for providing a type of haptic output for an electronic device. The type of haptic output is based on a determined orientation, position, and/or operating environment of the electronic device. Specifically, the electronic device may receive input from one or more sensors associated with an electronic device. The input from the one or more sensors is analyzed to determine a current orientation, position and/or operating environment of the electronic device. Once the orientation, position and/or operating environment of the electronic device is determined, a type of haptic output is selected and provided by the electronic device. As will be discussed below, the type of haptic output selected is a type that will maximize salience of the haptic output given the current orientation, position and/or operating environment of the electronic device.

For example the various types of haptic output may include: (i) a direction of the haptic output (e.g., haptic output provided in an x axis, a y axis, a z axis or a combination thereof), (ii) a duration of the haptic output, (iii) a frequency or waveform of a vibration or pulse of the haptic output, (iv) an amount of power consumed by providing the haptic output, (v) a pattern of the haptic output (e.g., a series of short pulses, a series of different vibrations or combinations thereof), and the like.

In addition to providing haptic output, the electronic device may also be configured to output auditory and/or visual notifications based on the received input from the one or more sensors. Specifically, the input from the one or more sensors is analyzed to determine a current orientation, position and/or operating environment of the electronic device. Once the orientation, position and/or operating environment of the electronic device is determined, a type of visual and/or auditory output is selected and provided by the electronic device. In further embodiments, haptic output may be combined with auditory notifications and/or visual notifications.

For example the various types of auditory output may various tones, rings and other sounds Likewise, the various types of visual output may include flashing lights, flashing the screen, outputting a text, graphic or picture on a display of the electronic device and the like.

FIGS. 1A-1B illustrate exemplary electronic devices 100 and 130 respectively that may be used to provide haptic output according to one or more embodiments of the present disclosure. In certain embodiments, each of the electronic devices 100 and 130 may be portable computing devices. For example, as shown in FIG. 1A, the electronic device 100 may be a wearable electronic device. In another embodiment shown in FIG. 1B, the electronic device 130 may be a mobile phone. Although specific example have been given, additional electronic devices may be used. For example, the electronic device of the present disclosure may be various types of portable computing devices including tablet computers, laptop computers, time keeping devices, computerized glasses, navigation devices, sports devices, portable music players, health devices, medical devices and the like.

As shown in FIG. 1A, the wearable electronic device 100 may include a display 110. The display 110 may be a touch-sensitive display having an input area (not shown). The input area may cover the entire area of the display 110 or a portion of the display 110. The display 110 may provide a user interface that outputs various information about the wearable electronic device 100. The display 110 may also provide information that is stored in a memory of the wearable electronic device 100. For example, the display 110 may present information corresponding to one or more applications that are executed or stored on the electronic device 100. Such applications may include email applications, phone applications, calendaring applications, game applications, time keeping applications and the like.

The wearable electronic device 100 may also include a band or a strap 120 that is used to connect or secure the wearable electronic device 100 to a user. In other embodiments, the wearable electronic device 100 may include a lanyard or necklace. In still further examples, the wearable electronic device 100 may be secured to or within another part of a user's body. In these and other embodiments, the strap, band, lanyard, or other securing mechanism may include one or more electronic components or sensors in wireless or wired communication with an accessory. For example, the band secured 120 to the wearable electronic device 100 may include one or more sensors, an auxiliary battery, a camera, or any other suitable electronic component.

As shown in FIG. 1B, the electronic device 130 may be a mobile phone or other such computing device. The electronic device 130 may also include a display 150 for providing information about the electronic device 130 such as was described above with respect to FIG. 1A. The electronic device 130 may also include one or more buttons 140 or other such input devices.

Although not shown in FIGS. 1A-1B the wearable electronic device 100 and the electronic device 130 may include a sensor, a microphone, a processor, a memory, a haptic actuator and a light source. These specific components, as well as other components of an exemplary computing device are shown below with respect to FIG. 6 and FIG. 7. In embodiments, the wearable electronic device 100 and the electronic device 130 may include multiple components of the same or similar type. For example, the wearable electronic device 100 may include multiple sensors, multiple processors, multiple haptic actuators etc. In addition, each of the components of the same type may work in combination or separately to provide various readings, input and output.

Further, the wearable electronic device 100 and the electronic device 130 may include other components not shown or described above. For example, the wearable electronic device 100 may include a keyboard or other input mechanism. Additionally, the wearable electronic device 100 may include one or more components that enable the wearable electronic device 100 to connect to the internet and/or access one or more remote databases or storage devices. The electronic device 100 may also enable communication over wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media mediums. Such communication channels may enable the wearable electronic device 100 to remotely connect and communicate with one or more additional devices such as, for example, a laptop computer, tablet computer, mobile telephone, personal digital assistant, portable music player, speakers and/or headphones and the like.

The wearable electronic device 100 and the electronic device 130 may also provide haptic output to notify a user of each device of a particular condition of the device. The haptic output may also be used to notify the user of an incoming text message, phone call, email message or other such communication. The haptic output may also notify a user of upcoming appointments and other notifications from various applications on each of the devices.

In certain embodiments, each of the devices 100 and 130 may be configured to output different types of haptic, audio and/or visual output based on various conditions associated with the device. For example, a first haptic output may be provided by the wearable electronic device 100 in a first set setting while a second, different haptic output may be provided by the wearable electronic device 100 in a second setting. In another example, a first haptic output and first visual notification may be provided in a first setting and a second haptic output, a second visual notification and a first auditory notification may be provided in a second setting. Depending on the settings the wearable electronic device 100 or the electronic device 130 is operating in, the haptic output may be a vibration, a series of vibrations, a pulse, a series of pulses, and various combinations thereof. Further, each vibration or pulse may be caused by a single haptic actuator or multiple haptic actuators.

In addition to the vibration or the pulse provided by a haptic actuator and as discussed above, each of the devices described herein may also output a visual notifications and/or auditory notifications. The visual and auditory notifications may be output by a light source, the display, and speakers respectively. For example, the visual and auditory notifications, when output, may include flashing lights and tones having a variety of patterns, volumes, intensity or brightness and so on._Further, the visual and auditory notifications may be output separate from the vibrations or pulses output by the haptic actuator. The visual and auditory notifications may also be output simultaneously or substantially simultaneously with the vibrations or pulses output by the haptic actuator. In yet another embodiment, the visual and auditory notifications may be output sequentially with respect to the vibrations or pulses output by the haptic actuator. Although the wearable electronic device 100 and the electronic device 130 may provide haptic output to gain the attention of the user, embodiments described herein are directed to determining an optimal method of vibrating or pulsing the haptic actuator. As needed or as determined, each of the device 100 and 130 may also provide auditory or visual notifications. For example, embodiments described herein vary the type of haptic output provided by an electronic device based on the sensed operating environment of each of the devices 100 and 130, the orientation of each of the devices 100 and 130 and/or the position of the each of the devices 100 and 130 with respect to a user.

Accordingly, embodiments of the present disclosure allow the wearable electronic device 100 and the electronic device 130 to autonomously observe or sense current operating conditions associated with each device 100 and 130, their respective orientations, and their positions with respect to a user. Based on these factors, each of the wearable electronic device 100 and the electronic device 130 can adjust the type of haptic output that is to be provided when a notification is to be provided to a user.

For example, the electronic device 130 may determine its current operating environment, such as for example, whether the electronic device 130 is indoors, outdoors, contained in a purse or bag, sitting on a table, in a pocket, attached to an arm of the user etc., by obtaining sensor readings from one or more sensors.

Based on the sensor readings from the one or more sensors, the electronic device 130 may select and/or optimize the type (e.g., the direction, duration, pattern, timing, etc.) of the haptic output provided by one or more haptic actuators. Specifically, the one or more haptic actuators may be configured to output vibrations or pulses in a variety of patterns, for a variety of durations, in a variety of directions (e.g., different axis) and combinations thereof. In embodiments where the electronic device 130 includes multiple haptic actuators, a first haptic actuator may be used to output vibrations or pulses in a first direction and in a first pattern while a second haptic actuator may be used to output vibrations is a second direction and for a second duration. When multiple haptic actuators are present in the electronic device 130, the haptic actuators may output vibrations or pulses separately, simultaneously or substantially simultaneously.

For example, the electronic device 130 may utilize readings from various sensors to determine that the electronic device 130 is face down on a table. As such, a first haptic actuator may be activated to output a first type of vibration or pulse at a first determined frequency, duration and/or in a first direction or axis. In another example, the readings from one or more sensors may determine that the wearable electronic device 100 is being worn on a wrist or arm of the user. As such, a second haptic actuator may be activated to output a second type of vibration or pulse at a second frequency, duration and/or in a second direction or axis. In these embodiments, the readings from the one or more sensors may be utilized to cause the haptic actuator to vibrate or pulse in such a way as to optimize salience depending on the determined environment, orientation and position in which the wearable electronic device 100 is operating.

In some embodiments, the devices 100 and 130 may include an accelerometer that detects an orientation of the devices 100 and 130 and/or whether the devices 100 and 130 are moving (e.g., being carried by a user) or stationary (e.g., lying on a table). The sensor may also be a gyroscope, magnetometer or other sensors that detect distance and/or depth. In yet another example, the sensor may be a light sensor that detects an amount of ambient light in order to determine whether the devices 100 and 130 are in a bag, in a pocket, covered by an article of clothing or the like. The sensor may also be a temperature sensor that monitors a rise in heat caused by a user holding the electronic device 130 in the user's hand or wearing the wearable electronic device 100.

As discussed above, each of the devices 100 and 130 may include multiple sensors. Accordingly, each of the sensors may obtain sensor readings separately, simultaneously or substantially simultaneously. In another embodiment, one sensor may be a primary sensor that provides initial readings to a processor of the electronic devices. If additional readings are required to determine the current operating environment of the devices 100 and 130, the processor of each device may request additional readings from the other sensors.

For example, if the primary sensor is an accelerometer, the processor of the electronic device 130 may determine, based on the data provided by the accelerometer, that the electronic device 130 is stationary. Based on the readings from that single sensor, a type of haptic output may be selected and provided by the electronic device 130. However, the processor may also request that one or more additional sensors provide sensed data so as to verify or more correctly identify the current operating environment, orientation or position of the electronic device 130. Using this data, the electronic device may maximize salience of the haptic output.

Once the one or more sensors have taken their respective readings, the sensor readings may be analyzed together or separately in order to determine an operating environment, orientation and/or position of the device. More specifically, the readings from the one or more sensors may be used to determine the most effective way to obtain the attention of a user of one of the devices 100 or 130 based on the sensed operating environment, orientation and/or position of the devices 100 and 130.

Continuing the example from above, readings from an accelerometer may be analyzed in conjunction with an ambient light sensor to determine that the electronic device 130 is in a pocket of a user. Further, the data from the accelerometer may indicate that the user is currently walking or running. Using this data, the processor of the electronic device 130 may instruct one or more haptic actuators to output a vibration or pulse along a first axis, in a first pattern and for a first duration.

In another example, the data from the accelerometer and the ambient light sensor may indicate that the electronic device 130 is in a pocket of the user but the user is sitting down or standing in place. In this example, the processor of the electronic device 130 may instruct the one or more haptic actuators to output a vibration or pulse along the first axis, but in a second pattern or for a second duration.

As discussed above, the wearable electronic device 100 and the electronic device 130 may include a single sensor or multiple sensors. The sensors may be used alone or in combination with other sensors. For example, if the one sensor is an accelerometer, a gyroscope may be used in conjunction with the accelerometer to determine an orientation of the devices 100 and 130.

Continuing with the example above, if the wearable electronic device 130 is worn on the arm of a user, a sensor may be configured to determine whether the arm of the user is stationary or moving. Further, the sensor may be configured to determine how the arm of the user is positioned. Specifically, input from the one or more sensors can determine that the user has his arms folded or otherwise held horizontally with respect to the user. The sensors may also determine whether the user has his arms in a vertical position with respect to the user such as, for example, if the user's arms are pointed down or swinging while walking.

Once the position of the wearable electronic device 100 or the electronic device 130 has been determined, the processor may instruct the haptic actuator to output a vibration or pulse that maximizes salience. For example, the processor may determine, based on the determined orientation, operating environment and position of the wearable electronic device 100 or the electronic device 130, that the haptic output should be provided in a first pattern at a first frequency, in a first direction, and for a first determined amount of time. In embodiments, the processor may also determine, based on the received sensor readings, that a display and/or a light source may be visible, or in a line of sight of the user of each of the devices 100 and 130. In such embodiments, the processor may also cause the display and/or the light source to flash or otherwise give a visual indication of the notification along with, or in place of, the haptic output.

In yet another embodiment, the sensor may be a light sensor. In such embodiments, the light sensor may be configured to determine an amount of ambient light (or other source of light) that the devices 100 and 130 are exposed to. For example, the light sensor may be able to determine whether the wearable electronic device 100 is covered or partially covered, such as, for example, by an article of clothing, or whether the electronic device is placed in a pocket or in a bag. If the wearable electronic device 100 is covered or partially covered, the haptic actuator may output a vibration or pulse of a second type, having a second duration and in a second direction.

In still yet another embodiment, the sensor may be an image sensor that is part of a camera of one of the electronic devices 100 and 130. In such embodiments, the image sensor may be configured to determine whether the devices 100 and 130 are moving or stationary and is also able to determine the position of the user with respect to the electronic device (e.g., whether the user is wearing the wearable electronic device 100). For example, the image sensor may be able to determine an orientation of the wearable electronic device 100 by temporarily analyzing the surroundings and making a determination of its orientation based on the collected data.

In other embodiments, data received from the camera may be used to provide additional information regarding the operating environment of the devices 100 and 130. For example, if the electronic device 130 is lying face down on a surface and one sensor (e.g., a light sensor) is located on the face of the electronic device 130 while the image sensor is located on the opposite side of the electronic device 130, the light sensor may indicate that it is receiving substantially no light while the camera indicates that it is receiving light. Accordingly a determination may be made that the electronic device 130 is face down on the surface.

In accordance with the embodiments and examples described herein, once the orientation and/or position of the devices 100 130 have been determined, haptic output may be provided by the device. The type of haptic output, includes the frequency, direction, pattern and duration of the haptic output such as described above.

The wearable electronic device 100 or the electronic device 130 may also include a microphone or other such input device. In certain embodiments, the microphone may also be used to determine an orientation or position of the devices 100 and 130 with respect to a user. For example, the microphone could be used to detect the rubbing of an article of clothing against the wearable electronic device 100 to determine whether the wearable electronic device 100 is in a bag, a pocket or covered by the article of clothing.

In another embodiment, the haptic actuator of the devices 100 and 130 may emit a small or quick pulse or vibration when it is determined that the device is stationary. The microphone may then help determine whether the device is placed on a hard or soft surface depending on the amount of noise caused by the emitted pulse or vibration. Based on this reading, the type of haptic output may be selected or adjusted. For example, if it is determined that the electronic device 130 is on a hard flat surface, the haptic output that is provided may be a series of short pulses instead of a long vibratory output.

In addition to the above, the microphone may be configured to detect and recognize a voice of a user, including determining a direction from which the voice originates.

Based on this information, an orientation and/or position of the devices 100 and 130 may be determined. Once the orientation and position of the devices 100 and 130 is determined, the haptic actuator may output various types of haptic output such as described above.

Although not shown, each of the electronic devices 100 and 130 may also include a global positioning system (GPS) sensor. The GPS sensor may indicate, based on monitored position data, whether the devices 100 or 130 are moving and may also determine an environment in which the device is located (e.g., shopping mall, movie theater, park etc.). Using this information, either singularly or in combination with other sensors, the processor of the device may adjust the type of haptic output provided by the haptic actuator accordingly.

The wearable electronic device 100 and the electronic device 130 may also include a memory. The memory may be configured to store settings and/or orientation information received from the sensor or microphone. In addition, the memory may store data corresponding to a calendaring application, a contacts application and the like. Because the each of the devices 100 and 130 has access to this additional data, the additional data may be used to select a type of haptic output.

For example, if the readings from the sensor indicate that the electronic device 130 is face-up on a table, the haptic actuator may be configured to output a first type of vibratory output. However, if data from the calendaring application indicates that the user of the electronic device 130 is in a meeting at the time the vibratory output is to be provided, a second, different type of vibratory output may be provided by the haptic actuator. In another embodiment, the haptic output may be delayed until the data from the calendaring application, or other such application, indicates that the user is free.

In yet another embodiment, the vibratory output may change based on a contact list. For example, if the electronic device 130 is in a first orientation and a first position with respect to a user, the haptic actuator may output a first type of vibration. However, if the embodiment determined that the notification for which the vibration is output is a person of a defined significance to the user (e.g., mother, father, wife, supervisor and so on), such as, for example as defined in a contacts application, the type of vibratory output may be adjusted accordingly. For example, each individual in a contacts application may be associated with a different type of haptic feedback or combinations of types of haptic feedback.

In still yet other embodiments, the data from the calendaring application and contact information may be combined or arranged in a hierarchy. Thus, if the user is in a meeting but is receiving a notification from a person of importance to the user, the haptic actuator may provide a type of tactile, audio, and/or visual notification when the user would otherwise not be disturbed.

In some additional embodiments, the haptic, audio and/or visual output may change based on the determined operating environment of the electronic device 100. More specifically, the output, whether auditory, haptic, visual and various combinations, may vary based on a determined operating environment of the electronic device 100.

For example, a duration of haptic vibrations may have a first length when the electronic device 100 is placed on a table and a have a second length when the electronic device 100 is placed in a pocket of a user. Likewise, auditory notifications, along with haptic output, may be provided when the electronic device is in a pocket of a user. In this scenario, visual notifications would not be provided as the electronic device 100 could determine that the display of the electronic device is not visible to a user. In yet another example, a volume of the auditory notification may be altered based on a determined level of ambient noise. Likewise, the brightness of the display may be altered based on a sensed amount of ambient light.

FIG. 2A illustrates an exemplary electronic device 200 being worn by a user 210 according to one or more embodiments of the present disclosure. In certain embodiments, the electronic device 200 shown in FIG. 2A may be the electronic device 100 shown and described above with respect of FIG. 1A. As shown in FIG. 2A, the electronic device 200 may be worn on an arm of the user 210. As described above, when the electronic device 200 is worn on the arm of the user 210, one or more sensors in the electronic device 200 may be configured to determine a location and orientation of the electronic device 200. Based on the determined orientation and location of the electronic device 200, a type of haptic output is provided by the electronic device 200 to maximize salience.

Specifically, in the example shown in FIG. 2A, the electronic device 200 is on a wrist of the user 210 and the arm of the user 210 is pointing down. As the electronic device 200 is able to determine the orientation of the electronic device 200, and also determine a position of the electronic device 200 with respect to the user 210, the haptic actuator outputs a pulse or a vibration in an axis that is parallel to the user's arm such as shown by arrow 220.

As also discussed, the haptic actuator may output a pulse or vibration having different frequencies, patterns and/or durations. In embodiments where two or more haptic actuators are contained in the electronic device 200, one haptic actuator may be selected to output the vibration or pulse over another haptic actuator based on the orientation or location of the haptic actuator in the electronic device 200. For example, if a first haptic actuator is configured to output vibrations in a y axis and another haptic actuator is configured to output vibrations or pulses in the z axis, the haptic actuator configured to output vibrations in the y axis may be selected based on the determined orientation of the electronic device 200 and/or based on the determined position of the electronic device with respect to the user 210.

FIG. 2B illustrates the exemplary electronic device 200 being worn by a user 210 according to one or more embodiments of the present disclosure. In certain embodiments, the electronic device 200 shown in FIG. 2B may be the electronic device 100 shown and described above with respect of FIG. 1A. However, in contrast to the electronic device 200 shown in FIG. 2A, the electronic device 200 in FIG. 2B is in a different orientation. As such, once a determination is made as to the new orientation of the electronic device 200, the haptic actuator may output a vibration or pulse in the direction indicated by arrow 230 (e.g., directly into the wrist of the user 210 in the z axis). As with the other embodiments described herein, the haptic actuator of the electronic device 200 may output a pulse or vibration having different frequencies, patterns and/or durations such as discussed above.

As also discussed above, the electronic device 200 may include two or more haptic actuators with each haptic actuator being configured to output vibrations or pulses in a different axis. As such, and continuing with the example above, a haptic actuator configured to output vibrations in the z axis may be selected over a haptic actuator configured to output vibrations in a y axis in order to provide haptic output with greater salience based on the current orientation and/or position of the electronic device 200.

FIG. 3 illustrates an exemplary electronic device 300 that is in a particular operating environment according to one or more embodiments of the present disclosure. In certain embodiments, the electronic device 300 may be the electronic device 130 shown and described above with respect of FIG. 1B.

As shown in FIG. 3, the electronic device 300 may be contained in a pocket of a user 310. As discussed above, one or more sensors of the electronic device 300 may detect an orientation and/or position of the electronic device with respect to the user 310. For example, if the sensors are implemented as an accelerometer and an ambient light sensor, each of these sensors may provide data that indicates that the electronic device 300 is in a confined, dark space and further that the electronic device 300 is being moved around (e.g., indicating that the user 310 is moving).

Based on this received data, the electronic device 300 may determine that a particular type of vibration or pulse may be required to gain the attention of the user 310. For example, the vibration or pulse provided by a haptic actuator may be output at a high frequency and for a long duration. Further, the vibrations or pulses may be output in different axes (e.g., a first pulse in a first axis and a second pulse in a second, different axis). In addition to the vibrations or pulse, an audible notification may be output by the electronic device 300.

As also shown in FIG. 3, the user 310 may have a second electronic device 320. As with the electronic device 200 shown and described above with respect to FIG. 1A, FIG. 2A and FIG. 2B, the electronic device 320 may use one or more sensors to determine its own orientation and position with respect to the user 310. This data may then be transmitted to the electronic device 300 contained in the pocket of the user 310. The electronic device 300 may use the received data to determine its own orientation and/or position with respect to the user 310. Likewise, electronic device 300 may transmit orientation and/or position data to the electronic device 310. Further, each device may transmit the type of haptic output each device is providing. Each electronic device may then either use a similar haptic output or choose types of haptic output that can be distinguished from one another.

FIG. 4 illustrates an electronic device 400 operating in another environment according to one or more embodiments of the present disclosure. For example, as shown in FIG. 4, the electronic device 400 may be lying flat on a table 410. In certain embodiments, the electronic device 400 may be the electronic device 130 shown and described above with respect of FIG. 1B. As with other embodiments discussed herein, one or more sensors in the electronic device 400 may be used to determine an orientation, position, and/or operating environment of the electronic device 400. Once the orientation, position and/or operating environment is determined, the electronic device 400 may output a type of haptic output most suitable for the determined orientation.

For example, if the electronic device 400 included an accelerometer and microphone, the electronic device 400 may detect that it is in a classroom or meeting setting by the sensors reporting no movement from the accelerometer and/or a relatively low ambient noise level from the microphone. Upon detecting that it is operating in this environment, the electronic device 400 may adjust the type of vibrations or pulses output by a haptic actuator.

In addition, the haptic actuator may be configured to output a test pulse or vibration. In response, the microphone may sense or otherwise analyze an amount of noise caused by the vibration or pulse (e.g., noise caused by the electronic device 400 vibrating on a hard surface) and adjust the type of haptic output provided. In another embodiment, if the vibration or pulse is too loud, a visual notification may be output by the electronic device 400. For example, a screen or light source of the electronic device 400 may flash or strobe in order to gain the attention of the user.

FIG. 5 illustrates a method 500 for providing haptic output for an electronic device according to one or more embodiments of the present disclosure. The method 500 described below may be used by any of the electronic devices shown and described above with respect to FIG. 1A through FIG. 4.

The method 500 begins when a sensor reading is received 510. According to one or more embodiments, the sensor reading may be received from a sensor contained in the electronic device. As discussed above, the sensor may be an accelerometer, a light sensor, an image sensor, and the like. Additionally, the sensor reading may be received from another input device such as, for example a microphone. Although specific sensors and components are mentioned, any number of sensors and components may be used in various combinations to receive sensor readings and other data corresponding to the operating environment of the electronic device.

In embodiments, the sensor readings may be received continuously or substantially continuously. Thus, the electronic device would always be aware of its current orientation, position, and operating environment. In another embodiment, the sensor readings may occur periodically. For example, sensor readings may be taken at predetermined intervals or time-based intervals.

In another embodiment, the sensor readings are taken when haptic output is to be provided. For example, if an incoming phone call is received by the electronic device, the processor of the electronic device may request sensor readings from one or more sensors prior to selecting and providing a type of haptic output. Based on the received sensor readings, the processor of the electronic device may determine the type of haptic output to provide based on the current sensor readings. In yet another embodiment, sensor readings may be requested when the electronic device changes state (e.g., is moved from a stationary position to a moving position by being picked up, carried and so on).

Once the sensor readings have been received, flow proceeds to operation 520 in which the operating parameters of the electronic device are determined. The operating parameters of the electronic device may include an orientation of the electronic device, a position of the electronic device with respect to a user of the electronic device and/or with respect to a second electronic device, whether the electronic device is stationary or moving, whether the electronic device is covered, partially covered or visible, and the like.

In certain embodiments, the viewability of a display screen of the electronic device may also be determined based on the received sensor readings. For example, the received sensor readings may indicate that the display of the electronic device is in an orientation in which the display is not currently visible to the user of the electronic device Likewise, the sensor reading may determine that the display screen of the electronic device is occluded or partially occluded from view.

In operation 530 a determination is made as to whether additional data about the electronic device is available. The additional data may include data from other applications or programs that are executing or available on the electronic device. For example, a calendaring application or contact application may provide additional data about a user's location or whether the user should be notified by a visual notification, an auditory notification, a tactile notification or some combination thereof.

Further, the additional information may help determine the orientation of the electronic device. For example, if a calendaring application indicates that the user is in a meeting, the electronic device may make a determination that the electronic device is positioned on a table or in a pocket of the user and may adjust the haptic output accordingly.

In other embodiments, the electronic device may learn various types of behavior based on the user's schedule and output vibrations or other notifications accordingly. For example, if an electronic device was in a particular orientation at a given time of day, or was in a particular orientation during a calendared appointment, the electronic device may use types of haptic output that were provided in those situations when the data from these sources indicate the user is again in a similar appointment or situation.

In other embodiments, data from applications executing on the computing device may be received first in an attempt to determine the current orientation and operating environment of the electronic device. Once the data from the applications is received, additional sensor data may be requested from the one or more sensors of the electronic device to verify the assumed orientation or position of the electronic device.

If operation 530 determines that additional information is available and/or is needed, flow proceeds to operation 540 and the additional information is provided to the processor of the electronic device. Once the additional information is received, flow proceeds to operation 550 and a type of haptic output is determined that will maximize salience. In embodiments, the type of haptic output may include the direction of the haptic output, the frequency of the haptic output, the duration of the haptic output, the pattern of the haptic output, the amount of power to be used in providing the haptic output and the like.

Returning back to operation 530, if it is determined that no additional information is needed (or wanted), flow proceeds directly to operation 550 and the type of haptic output is determined. As discussed, the type of haptic output may include the direction, the frequency, the pattern, the duration, etc. of the vibrations and pulses.

When the type of haptic output is determined, flow proceeds to operation 560 and the haptic output is provided. In certain embodiments, the haptic output may be provided by a single haptic actuator. In other embodiments, the haptic output may be provided by multiple haptic actuators. In embodiments where multiple haptic actuators are used, operation 550 may determine which haptic actuator is used. In addition, operation 550 may also determine whether multiple haptic actuators are active simultaneously or substantially simultaneously. In other embodiments, the haptic actuators may be actuated in sequence or in a staggered or alternating manner.

FIG. 6 is a block diagram illustrating exemplary components, such as, for example, hardware components of an electronic device 600 according to one or more embodiments of the present disclosure. In certain embodiments, the electronic device 600 may be similar to the wearable electronic device 100 described above with respect to FIG. 1A or the electronic device 130 described above with respect to FIG. 1B. Although various components of the device 600 are shown, connections and communication channels between each of the components are omitted for simplicity.

In a basic configuration, the electronic device 600 may include at least one processor 605 and an associated memory 610. The memory 610 may comprise, but is not limited to, volatile storage such as random access memory, non-volatile storage such as read-only memory, flash memory, or any combination thereof. The memory 610 may store an operating system 615 and one or more program modules 620 suitable for running software applications 655. The operating system 615 may be configured to control the electronic device 600 and/or one or more software applications 655 being executed by the operating system 615.

The electronic device 600 may have additional features or functionality than those expressly described herein. For example, the electronic device 600 may also include additional data storage devices, removable and non-removable, such as, for example, magnetic disks, optical disks, or tape. Exemplary storage devices are illustrated in FIG. 6 by removable storage device 625 and a non-removable storage device 630.

In certain embodiments, various program modules and data files may be stored in the system memory 610. The program modules 620 and the processor 605 may perform processes that include one or more of the operations of method 500 shown and described with respect to FIG. 5.

As also shown in FIG. 6, the electronic device 600 may include one or more input devices 635. The input devices 635 may include a keyboard, a mouse, a pen or stylus, a sound input device, a touch input device, and the like. The electronic device 600 may also include one or more output devices 640. The output devices 640 may include a display, one or more speakers, a printer, and the like. The electronic device 600 may also include one or more haptic actuators 660 that are used to provide the haptic feedback such as described herein. As discussed above, the electronic device 600 may also include one or more sensors 665. The sensors may include, but are not limited to, accelerometers, ambient light sensors, gyroscopes, magnetometers and other sensors described herein.

The electronic device 600 also includes communication connections 645 that facilitate communications with additional computing devices 650. Such communication connections 645 may include a RF transmitter, a receiver, and/or transceiver circuitry, universal serial bus (USB) communications, parallel ports and/or serial ports.

As used herein, the term computer readable media may include computer storage media. Computer storage media may include volatile and nonvolatile media and/or removable and non-removable media implemented in any method or technology for the storage of information. Examples include computer-readable instructions, data structures, or program modules. The memory 610, the removable storage device 625, and the non-removable storage device 630 are all examples of computer storage media. Computer storage media may include RAM, ROM, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the electronic device 600. Any such computer storage media may be part of the electronic device 600.

FIG. 7 illustrates another exemplary electronic device 700 according to one or more embodiments of the present disclosure. FIG. 7 is a block diagram illustrating the architecture of an electronic device such as electronic device 100 shown and described with respect to FIG. 1A or electronic device 130 shown and described with respect to FIG. 1B. Although various components of the device 700 are shown, connections and communication channels between each of the components are omitted for simplicity.

In certain embodiments, the system 705 may execute one or more applications or programs. These applications or programs include browser applications, e-mail applications, calendaring applications, contact manager applications, messaging applications, games, media player applications and the like.

One or more embodiments provide that application programs may be loaded into a memory 710 and may be executed by, or in association with, the operating system 715. Additional exemplary application programs may include phone programs, e-mail programs, personal information management (PIM) programs, word processing programs, spreadsheet programs, Internet browser programs, messaging programs, and the like. The system 705 also includes a non-volatile storage area 720 within the memory 710. The non-volatile storage area 720 may be used to store persistent information. In certain embodiments, the application programs may use and store information in the non-volatile storage area 720. A synchronization application or module (not shown) may also be included with the system 705 to synchronize applications or data resident on the device 700 with another computer or device. In embodiments, the device 700 includes a power supply 725. The power supply 725 may be a battery, solar cell, and the like that provides power to each of the components shown. The power supply 725 may also include an external power source, such as an AC adapter or other such connector that supplements or recharges the batteries. The device 700 may also include a radio 730 that performs the function of transmitting and receiving radio frequency communications Additionally, communications received by the radio 730 may be disseminated to the application programs disclosed herein the operating system 715. Likewise, communications from the application programs may be disseminated to the radio 730 as needed.

The electronic device 700 may also include a visual indicator 735, a keypad 760 and a display 765. In embodiments, the keypad may be a physical keypad or a virtual keypad generated on a touch screen display 765.

The visual indicator 735 may be used to provide visual notifications to a user of the electronic device 700. The electronic device 700 may also include an audio interface 740 for producing audible notifications and alerts. In certain embodiments, the visual indicator 735 is a light emitting diode (LED) or other such light source and the audio interface 740 is a speaker. In certain embodiments, the audio interface may be configured to receive audio input.

The audio interface 740 may also be used to provide and receive audible signals from a user of the electronic device 700. For example, a microphone may be used to receive audible input. In accordance with embodiments of the present disclosure, the microphone may also serve as an audio sensor to facilitate control of notifications such as described above. The system 705 may further include a video interface 750 that enables an operation of an on-board camera 755 to record still images, video, and the like.

In one or more embodiments, data and information generated or captured by the electronic device 700 may be stored locally. Additionally or alternatively, the data may be stored on any number of storage media that may be accessed by the electronic device 700 using the radio 730, a wired connection or a wireless connection between the electronic device 700 and a remote computing device. Additionally, data and information may be readily transferred between computing devices.

Embodiments of the present disclosure are described above with reference to block diagrams and operational illustrations of methods and the like. The operations described may occur out of the order as shown in any of the figures. Additionally, one or more operations may be removed or executed substantially concurrently. For example, two blocks shown in succession may be executed substantially concurrently. Additionally, the blocks may be executed in the reverse order.

The description and illustration of one or more embodiments provided in this disclosure are not intended to limit or restrict the scope of the present disclosure as claimed. The embodiments, examples, and details provided in this disclosure are considered sufficient to convey possession and enable others to make and use the best mode of the claimed embodiments. Additionally, the claimed embodiments should not be construed as being limited to any embodiment, example, or detail provided above. Regardless of whether shown and described in combination or separately, the various features, including structural features and methodological features, are intended to be selectively included or omitted to produce an embodiment with a particular set of features. Having been provided with the description and illustration of the present application, one skilled in the art may envision variations, modifications, and alternate embodiments falling within the spirit of the broader aspects of the embodiments described herein that do not depart from the broader scope of the claimed embodiments. 

What is claimed is:
 1. An electronic device, comprising: a motion sensor that gathers motion sensor data; a processor that determines a current orientation of the electronic device based on the motion sensor data; and a haptic output device that generates at least first and second types of haptic output, wherein the processor selects between the first and second types of haptic output based on the current orientation of the electronic device.
 2. The electronic device defined in claim 1 wherein the first and second types of haptic output have different directions.
 3. The electronic device defined in claim 1 wherein the first and second types of haptic output have different durations.
 4. The electronic device defined in claim 1 wherein the first and second types of haptic output have at least one different characteristic from one another and wherein the different characteristic is selected from the group consisting of: frequency, power, and pattern.
 5. The electronic device defined in claim 1 wherein the motion sensor comprises an accelerometer.
 6. The electronic device defined in claim 1 wherein the processor determines a position of the electronic device relative to an external electronic device based at least partly the motion sensor data.
 7. The electronic device defined in claim 6 wherein the processor selects between the first and second types of haptic output based on the position of the electronic device relative to the external electronic device.
 8. The electronic device defined in claim 1 further comprising a display that displays a notification, wherein a characteristic of the notification is based at least partly on the current orientation of the electronic device.
 9. The electronic device defined in claim 8 wherein the display displays the notification while the haptic output device generates one of the first and second types of haptic output.
 10. The electronic device defined in claim 1 further comprising an ambient light sensor that gathers ambient light sensor data, wherein the processor selects between the first and second types of haptic output based on the ambient light sensor data.
 11. An electronic device, comprising: a sensor that gathers sensor data; a processor that determines whether the electronic device is moving or stationary based on the sensor data; and a haptic output device that generates a first type of haptic output when the electronic device is moving and a second type of haptic output when the device is stationary.
 12. The electronic device defined in claim 11 wherein the first and second types of haptic output have at least one different characteristic from one another and wherein the different characteristic is selected from the group consisting of: direction, duration, frequency, power, and pattern.
 13. The electronic device defined in claim 11 wherein the sensor comprises an accelerometer.
 14. The electronic device defined in claim 11 further comprising a display that displays a notification while the haptic output device generates one of the first and second types of haptic output.
 15. The electronic device defined in claim 14 wherein the processor determines a characteristic of the notification based on the sensor data.
 16. An electronic device that operates in environment, comprising: a sensor that gathers information about the environment; a haptic output device that generates haptic output; a display that generates visual output; and a processor that determines whether to provide the haptic output, the visual output, or a combination of the haptic output and the visual output based on the information about the environment.
 17. The electronic device defined in claim 16 wherein the sensor comprises a sensor selected from the group consisting of: a motion sensor, an ambient light sensor, an image sensor, and a temperature sensor.
 18. The electronic device defined in claim 16 wherein the haptic output device generates first and second types of haptic output and wherein the processor determines whether to provide the first or second type of haptic output based on the information about the environment.
 19. The electronic device defined in claim 18 wherein the first and second types of haptic output have different directions.
 20. The electronic device defined in claim 18 wherein the first and second types of haptic output have different durations. 